<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<script>
  function handleArr(totalArr,filterArr){
    return totalArr.filter(itemA => {
      return filterArr.every(itemB => itemB.id !== itemA.id )
    })
  }
  let arr1 = [{id:1},{id:2},{id:3},{id:4},{id:5},{id:6}]
  let arr2 = [{id:2},{id:6},{id:1}]
  console.log('res',handleArr(arr1,arr2));
</script>
<body>
  
</body>
</html>